<template>
  <div class="employees-container">
    <div class="app-container">
      <el-card>
        <el-tabs>
          <el-tab-pane label="登录账户设置"><LoginSeeting :id="id" /></el-tab-pane>
          <el-tab-pane label="个人详情"><JobInfo /></el-tab-pane>
          <el-tab-pane label="岗位信息"><UserInfo /></el-tab-pane>
        </el-tabs>
      </el-card>
    </div>
  </div>
</template>

<script>
import JobInfo from './components/job-info.vue'
import LoginSeeting from './components/login.setting.vue'
import UserInfo from './components/user-info.vue'

export default {
  components: {
    JobInfo,
    LoginSeeting,
    UserInfo
  },
  data() {
    return {
      // id: this.$route.query.id
      id: this.$route.params.id
    }
  }
}
</script>
